package com.quanyan.club.mapper;

import com.quanyan.club.entity.db.TbClubExperienceHistory;
import com.quanyan.club.entity.db.TbClubExperienceHistoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbClubExperienceHistoryMapper {
    int countByExample(TbClubExperienceHistoryExample example);

    int deleteByExample(TbClubExperienceHistoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbClubExperienceHistory record);

    int insertSelective(TbClubExperienceHistory record);

    void insertClubExpHistory(TbClubExperienceHistory record);

    List<TbClubExperienceHistory> selectByExample(TbClubExperienceHistoryExample example);

    TbClubExperienceHistory selectByPrimaryKey(Integer id);

    Integer countByExpName(@Param("expName") String expName,@Param("clubId") Integer clubId);

    int updateByExampleSelective(@Param("record") TbClubExperienceHistory record, @Param("example") TbClubExperienceHistoryExample example);

    int updateByExample(@Param("record") TbClubExperienceHistory record, @Param("example") TbClubExperienceHistoryExample example);

    int updateByPrimaryKeySelective(TbClubExperienceHistory record);

    int updateByPrimaryKey(TbClubExperienceHistory record);

    Integer countByCurDate(@Param("expName") String expName, @Param("clubId") Integer clubId);
}